<!-- 用途表格 -->

<template>
  <WebTable full>
    <RowTree
      :label="`${CORE.MAP.ASSET}分类`"
      bind="assetTypeId"
      :dict="$root.device_category_treeDict"
      :minWidth="120"
    />

    <RowChildren label="厂家" bind="content" nameKey="modelName" multiRow />

    <RowChildren label="设备总数" bind="content" nameKey="total" multiRow />

    <RowChildren label="在用设备数" bind="content" nameKey="useTotal" multiRow />

    <RowChildren label="故障设备数" bind="content" nameKey="faultTotal" multiRow />

    <RowChildren label="闲置设备数" bind="content" nameKey="idleTotal" multiRow />

    <RowChildren label="设备完好率" bind="content" nameKey="intact" multiRow />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'UsageTable',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb()],
}
</script>
